package cn.neusoft.neusoft_fz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.Payment;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2023-06-25
 */
public interface PaymentService extends IService<Payment> {

    List<Payment> getPaymentsBySubstationAndTime(Long substationId, LocalDateTime startTime, LocalDateTime endTime);
    List<Payment> getPaymentsBySubstation(Long substationId);

    BigDecimal getPaymentAmount(String doid);
}
